import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/sys/processOperation/${url}`, ...arg)
/**
 * 工序管理
 *
 * @author mh
 * @date 2022-09-22 22:33:20
 */
export default {
	// 获取工序分页
	processOperationPage(data) {
		return request('processOperationPage', data, 'get')
	},
	// 新增工序
	processOperationSend(data) {
		return request('processOperationAdd', data)
	},
	// 删除工序
	processOperationDelete(data) {
		return request('delete', data)
	},
	// 获取工序详情
	processOperationDetail(data) {
		return request('edit', data)
	}
}
